package com.example.handdet.guesture;

public class Bbox {
    public float x0, y0, x1, y1;
    public int label;
    private float score;

    public Bbox(float x0,float y0, float x1, float y1, int label, float score){
        this.x0 = x0;
        this.y0 = y0;
        this.x1 = x1;
        this.y1 = y1;
        this.label = label;
        this.score = score;
    }

//    String labels[] = {
//            "background",
//            "6six",     "8eight",       "diss",       "five",
//            "four",     "grip",         "heart_1",    "heart_2",
//            "heart_3",  "heart_single", "love",       "middle_finger",
//            "nine",     "ok",           "one",        "qidao",
//            "rock",     "seven",        "ten",        "three",
//            "up_hand",  "victory",      "zuobie",     "zuoyi"
////            ,"background"
//    };

    String labels[] = {
            "background",
            "other",     "other",       "other",       "five",
            "other",     "other",         "other",    "other",
            "other",  "other", "other",       "other",
            "other",     "ok",           "other",        "other",
            "other",     "other",        "ten",        "other",
            "other",  "other",      "other",     "other"
//            ,"background"
    };

    public float getScore(){
        return score;
    }

    public String getLabel(){
        return labels[label];
    }

}
